class CreateHistories < ActiveRecord::Migration
  def self.up
    create_table :histories do |t|
      t.integer :document_id
      t.integer :edition_no, :default => 1
      t.integer :creator
      t.text    :content
      t.string  :ip
      t.string  :reason
      t.timestamps
    end
  end

  def self.down
    drop_table :histories
  end
end
